package com.example.qgtradeprovider.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface TradeMapper {

    @Insert("insert into qg_trade values(#{trade_no},#{out_trade_no},#{trade_no},1,#{total_amount},now(),now())")
    public int addTrade(Map map);


}
